package com.len.service;

import com.len.base.BaseService;
import com.len.entity.Dict;
import com.len.util.JsonUtil;

import java.util.List;
import java.util.Map;

/**
 * @author songxiangyang
 * @date 2019/4/3 下午2:46
 * @email songxiangyang@aliyun.com
 */
public interface LoadsDictService extends BaseService<Dict,String> {

    @Override
    int deleteByPrimaryKey(String id);

    @Override
    int insert(Dict record);

    @Override
    int insertSelective(Dict record);


    Dict selectByPrimaryKey(String id);

    @Override
    int updateByPrimaryKeySelective(Dict record);

    @Override
    int updateByPrimaryKey(Dict record);

    @Override
    List<Dict> selectListByPage(Dict dict);

    Map<String, String> loadsDictionary(Dict dict);

    JsonUtil selectDictList(Dict dict);
}
